﻿using System.Data.SqlClient;
using KMF.Common;

namespace KMF.DAL
{
    public partial class CustomerDb
    {
        //public static CustomerDto GetByEmail(string Email)
        //{
        //    var dao = SharedSqlDao;
        //    SqlCommand command = dao.GetDbSprocCommand("WSPX_Customer_GetByEmail");
        //    try
        //    {
        //        command.Parameters.Add(dao.CreateParameter("@Email", Email));

        //        return dao.GetSingleDTO<CustomerDto>(ref command);
        //    }
        //    finally
        //    {
        //        command.Connection.Close();
        //    }
        //}//End method
    }
}
